package com.abc.studentmanager.mapper;

import com.abc.studentmanager.domain.Location;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @Classname
 * @Description
 * @Created
 */
public interface LocationMapper {
    List<Location> queryList(Map<String, Object> paramMap);

    Integer queryCount(Map<String, Object> paramMap);

    int addLocation(Location location);

    int deleteLocation(List<Integer> ids);

    int editLocation(Location location);

    Location findByName(String locationName);
}
